x11: Handle XINotifyPassiveGrab/Ungrab in focus events
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 4 Dec 2013 11:49:02 +0000 (12:49 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 5 Dec 2013 02:22:23 +0000 (21:22 -0500)
commitf6c9a33841ae613ebbbff074e832bcbe15beea9f
tree68f3cbad0bc0f843aaa6d233a1f0e0a52c4d7db9
parent3dbabbd2e5340857d0223f0529d4feb1bbacd3fd
x11: Handle XINotifyPassiveGrab/Ungrab in focus events

The focus handling code is shared between core and XI2 implementations,
so just handle the extra XI2 types for passive grabs. Those must be dealt
with in the same way than active grabs. Focus events with this crossing
mode could happen currently through the XIGrabFocusIn passive grab.

https://bugzilla.gnome.org/show_bug.cgi?id=719762
gdk/x11/gdkdevicemanager-core-x11.c